class test1{
public static void main(String[] args){
	char[] str={'g','o','d'};
	char[] rev = calculator.revChar(str);
	calculator.printCharArray(rev);
	System.out.println("even numbers\n");
//even num
	calculator.printIntArray(calculator.even(0,10));
//odd num
	System.out.println("odd numbers\n");
	calculator.printIntArray(calculator.odd(0,10));
	System.out.println("fibonacci\n");
//printIntArray(prime(num));
	calculator.printIntArray(calculator.generatefib(10));
	int[] num1={10,20,30,40,50};
	System.out.println("sum="+calculator.sum(num1));
//double array
	double[] num={10.234,10.234,20.236,34.893};
	System.out.println("double array..\n");
	calculator.printDoubleArray(num);
//reverse integer
	int[] rev1=calculator.revInt(num1);
	calculator.printIntArray(rev1);
	System.out.println("random number\n");
	calculator.printIntArray(calculator.randgen(10));
	System.out.println("the time taken to create an array of 10k size is "+calculator.calTime());
	calculator.printIntArray(calculator.randomGen());	
	//matrix addition
	calculator.printIntArray(calculator.addMatrix());
	calculator.printIntArray(calculator.multipyMatrix());
     calculator.Matrix();
	 calculator.MatrixSum();
	// calculator.sumRowCol();

}
}